package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 网站类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum WebsiteLabel {
    REST(0, "其他"),
    LEARN(1, "学习"),
    MOVIE(3, "影视"),
    CARTOON(4, "动漫"),
    MUSIC(5, "音乐");

    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    WebsiteLabel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
